error on testing file