Added a few tests to lightspeedSpec.js. Need further unit tests!