Add domain error handling and some output.
Make it run on my Mac
Clean up tests.