Fixup sample app to run outside of spec context