added test taking button to jade and functionality