Fixed regex used by Firebolt.data() and added unit tests to test that it works correctly