crate and nested crate tests. prims only