new way for testing. Just test the rendered content, not the generated dart code