Use sinon for spies and stubs
Add initial tests for getCssMatrix()