adding tests for gateway & specs