Tests cases.