Fix illegal escape sequence

The test is failing because PostreSQL allows the parameter to end with an escape sequence (`a\`) which is not allowed by the FoundationDB SQL Layer.