added test button function