Adds renderer test and performance improvements