adds testcase to get buttons by their name