Add Tests for gateway creation
Add module gateway for gateway creation