unit testing of expected and actual render output