barp.setBaz(baz);
assertTrue( s.find("select bar from Bar bar where bar.baz.stringDateMap['now'] is not null").size()==1 );
assertTrue( s.find("select bar from Bar bar join bar.baz b where b.stringDateMap['big bang'] < b.stringDateMap['now'] and b.stringDateMap['now'] is not null").size()==1 );
assertTrue( s.find("select bar from Bar bar where bar.baz.stringDateMap['big bang'] < bar.baz.stringDateMap['now'] and bar.baz.stringDateMap['now'] is not null").size()==1 );
list = s.find("select foo.string, foo.component, foo.id from Bar foo");
assertTrue ( ( (FooComponent) ( (Object[]) list.get(0) )[1] ).getName().equals("foo") );
list = s.find("select elements(baz.components) from Baz baz");
assertTrue( list.size()==2 );
list = s.find("select bc.name from Baz baz join baz.components bc");
assertTrue( list.size()==2 );