Edited the render method and added a test case

Made the render method draw things properly, but the test case shows our
collision work is not right. Also I had to move a line out of the switch
statement so it would get called