Tests/functional

Functional tests for giving karma, and acp karma history
Maybe also check that the karma has really been deleted?