Make error handling on the command line a bit better and add test
Up version number