Unit Tests

- Compares to the correct error message.
- Updated to conform to template.