Print test failed or success message