Adding some unit tests for EmuQL. Needs more checks, as well as a local version.