Added more tests. Various fixes for Fongo, conf, build, etc.