Add more tests and regex parser (fails on NaN/Infinity stuff atm)