Bugfixing and test cases written for Beeminder callbacks.