fixing tests/func/usecases