test creating object from a different package