Added integration test for OmeroMetadata
Remove old code, flake8 fix