remove renderer tests. we can assume it exists
avoid narrowing conversions
whitespace and style fixes