Adding Guard clauses, ControllerResolver and FormatterBuilder tests