Adds tests for controllers