Tests for case creation behaviour