add keys builtin tests, adjust docs