Deleted Errors class and ErrorsTest class. Refactored ErrorTest to use static factory methods on Error. Refactored static factory methods on Error to take client as argument