Added unit tests for all existing controllers. Fixes #8