Basic controller generation and tests