tightened up conditions for testing to catch common student error