Phase 1 of unit testing