Adds some tests.

ok, I'll remove group annotations.