improved the nested packages test