Change warning switch -pedantic to -Wpedantic.
Add stub function for "change" method.
Let get_path_from_params() return const char* instead of a JSON object.
Add temporary write_buffer to peer before calling send_buffer().

Otherwise the test results in an access violation.