WIP: tests for metadata retrieval
more generic engine behavior, more tests