Proper unit and integration testing - sample todo application