Conditional error message hard coded and tested