adjusted test to test javascript parser