Practicing unit testing