[test] - code style, removed unused modules
[fix] mongoose disconnects