crit tests coded

Feature seems to work