#8 added test to verify correct scanning of package structures