Simplify code loading
Refactor projects_spec to use new RSpec syntax