Updated to use compare command in the place of summary and test