attached test onClick methods to menu buttons