Simplified test generation - next replacing my regex with custom loop
Switched to esprima working on objects next