seperate the app form the tests

by @veryrusty
FIx number of tests