implemented remaining render tests

also squashed several bugs