Refine the rule DbSetupRule. Fix some issues in the tests AssignRightTest and UserFavoriteSpaceServiceTest in which the data set didn't satisfy some constrains