moved unit tests back to app/tests