Refactor web tests too have setUp