Refactored test.rb so that pass_test and fail_test can be called, instead of manually...