finished up all of the context traces for a simple rectangle rendering, and added unit test