added tests and functionality for projects resources