Adding tests for repo init, stage, initialize