Tests now running successfully. Made minor changes in the error message.