fixed unit and integration tests for apply_vcr on elements method