remove self-testing codes