Completing line coverage on Chart controller.
Simplifying mime check.