add project.json test file - refactor resourceHandler