It needs to use HeadlessTestSupport during test