Fixed self-test issue.