refactored project tests and views