fixes #1400
this test file isn't used anymore
removed redundant usage example
added error check