Add test for Java bean in default package