Fix RegExp
Using 'part of' to remove errors for warnings.
Refactored test runners to include headless browser.
Merge pull request #48 from financeCoding/master

Reverted to using `part of` and fixed unit test.