add test for showNewTask func