fix db test
implicit convert TypedId to Long