fixed error in Test