Functional test asserts width and height instead of file