It's good practice to put the test class for a given component in the same package where the actual component lives. The reason are that:

* You have access to package private member, if needed.
* The convention makes it easy to locate tests for a given class.