Clean up scripted test assertion transformer code