added tests for gateway and price entries
added functionality for gateway and price entries