fixes #105: ensure rendering is done before running tests by adding validateRendering() call.