Added tests for the removal of keyframes rules