Accused Christchurch mosque shooter to undergo mental health tests