unit testing phase