Tests for conditional content (split_test module).

TNL-38 (TNL-39 is the unit test subtask).

@dan-f and @andy-armstrong please review