Testing Spring database fns