- moved test to tests
- improved unit testing framework