Add tests for the MOC extension