fixed query unpackage test. Switched to coffee script