Added tests with collections