[ticket/11615] Rename and refactor session/continue_test -> check_isvalid to make understanding easier

This test was previously written in a way that made good use of data providers, but required a recursive array substitution to replace values during the test.

I re-wrote the test in such a way that eliminates this problem and is hopefully easier to follow if you aren't already familiar with the test, while keeping redundancy to a minimum.