Adding tests that confirm that DDC-2844 is fixed
Adding tests to verify that dql aliases in criteria are correctly converted