move Collection::first and last to test-shims file