[BUG #7246] Fixed tests