Various

* tidy up my.cnf
* protect test:lib from non-test env
* gzip