add python tests and mongodb hmw