splitted UserDBTest into unit and integration test