renaming test file and moving status codes to constants file