Fixed failing tests in admin-projects.spec.js

A partial fix for issue #186