moved tests from url to app object