Adds dynamic button adding to the test file