Add (failing) unit-test of SQL logic for variability etc. in inf errs case.
Add (failing) unit-test of SQL logic for variability etc. in inf errs case.

transientskp/tkp,bartscheers/tkp,mkuiack/tkp,transientskp/tkp,mkuiack/tkp,bartscheers/tkp