Add failing tests to TestBfGetPlane

The input checking logic in bfGetPlane had a bug where x and y were both
tested against the same dimension. This commit should add failing tests for
this issue.
Fix input check validation in  bfGetPlane
Merge pull request #1115 from sbesson/bfgetplane_fix

Fix bfGetPlane tile input check