app setup with tests