Fix uid init processing; wrong cursor was used
Add test data