Adding stop to app:clean and adding tests. FIXES #17