added test for nested packages