return test result code

I am made to like to return the result of a test by the cover command. 
The cover command can be used now as test runner in CI tool by this change. 

ex)
https://github.com/kan/p5-smart-options/blob/master/.travis.yml