Use mocha to run tests
Split out record tests
Add regexp and date tests