added tests for main controller and first filter test for formatList