perror.Lookup() + unit-tests