fix tests for removed metadata support