added some tests and docs
added generic render methods, added a bunch of tests