update tests to assert metrics are called