Fix unit tests
turn test into testing package