Add tests for three and four argument cases.