Adding criterion with dependencies.

Signed-off-by: Magnus Therning <magnus@therning.org>