fixed bad test counting