moved status messages to a hash and added new tests for them