gets rid of print statements and fixes bug where we were allowed to prescribed a test which is not allowed