- fixed some error messages
- added more unit tests