Addint UnitTest class for testing and Error Class for Errors