fixed incorrect tests