imagefreeze: Add test for checking if imagefreeze correctly returns UNEXPECTED after the first buffer