Tests/functional

Functional tests for giving karma, and acp karma history
Should be called give_karma_test and not just karma_test