Testing button behaviour