Mimic the fallback string cast from original WebTestBase
Fix checkbox tests to test against checkbox value