wrote part of unit testing for project