unit tests for MARMOTTA-506