Advanced Java Class Design Tests