Adding some tests for the logic error class
Adding more tests and extra constructors.