part way through adding unit testing
complete unit tests for CrowdDAO