Test for conditional module rendering