fixed error in test