Cleaned up code. Implemented BusinessLayerMajorErrorTest