Updated tests

Headless javascript, extra test for submitting a proc.