added a test to create more helpful output on error