Three remanded on terrorism charges