Add testcases to gateway.