Fixed checking for the eval option and script evaluation
Updated tests (currently checking ajax)