Refactor tests for murano metadata repository