Added cube renderer and test cases