Moved tests into app_spec.js
Added page cycling