Please add tests for the different parameter encoding options implemented below.