added a test for an adding function using inputs and a button