Refactors all quasiquotes code into a single cake
Fixes tests which were broken due to imperfect Trees generation