Expanded framebuffer-object-attachment test to verify the cases in pull ...

...request #479.