Fix where get_x_connection was not changed to get_x_connection_obj
Add tests for post data in the chem app