restructured unit tests.
- move all tests to new package test