Set up application realm stuff in domain tests so servers don't complain
AS7-6154 Add smoke test of expression support
AS7-6235 Don't try and check valid-but-undefined model references