Added 'q' command to tests 42 and 43 to avoid 'program timed out'. If this is unnecessary, please explain why.