I wonder what is the proper way of doing integration testing