Refactored spec into a single page app.