Tests

Here's a bare-bones karma suite that tests the output of the mean/median/mode controller.