Moved tests to be a child package

Moved tests to be a child package of the package that is being tested.
This is to allow white-box testing instead of black-box testing.