Changes js var tests to kwpsTests on form page