Started writing tests for error classes