Added new tests for Swagger doc controllers. Also some CS fixes.