fix interface docs and tests