correcting error for test