Add tests and get connect one time