Adds endchar with 4 arguments test.