(add) adds tests for main controller