Added CLI for render, passing tests