Added some tests. Got them working-ish. Fixed some bugs in QEABuilder.
Added another test.