i wrote the code but there are some errors when running the test file I have don