Added button helper to abstractlogic from views
Added cookie tests