Fixed tests issues with strange mongoIds