fixed error in test7