Adding some tests for the logic error class