Added tests for nested packages