Added Testing code for rendering sprites