make sure the api can handle encoded persistent vectors