Added a triangle renderer and (broken) test case for bufferSubData