[BUG #7322] add assertions for bug