test checking if valid task is accepted added