More tests
Added noauth mode
Bug fixes