cleaning up reference error test