Add manual self-test