unit test and guard class packages