fix for failing specs; using repositories in existing contexts