pithos: Add tests

Test metadata & group limit enforcement.