Simple test classes java