correction of code compare cretion action and tests