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