first draft of fixing test rendering