Add jasmine spies for morris functions.
Test chart creation.