NEW: Basic qunit tests
Merge branch 'develop' into feature/unit-tests
Fix to chain after using set, pause and reset methods
Basic unit tests implemented. Closes #6
Merge branch 'feature/unit-tests' into develop