fixed error message display
started on testing use of rake test test_file