added constructor to set values for error message, added constructor, getter and setter tests for error message