Fixed the GATE integration and added a test input and a Gate Service class with a test method