Added tests that mimick what QE's tests are doing.