Fixed non-js behat tests for 2.7