Modified test for buttons to pass on Django 1.4