bfGetReader() unit tests

Summary of changes
- allow fake string to be passed to `bfGetReader()` for mock testing
- create unit tests for `bfGetReader()` and refactor `bfGetPlane()` unit tests

Can be tested using the Matlab test target ``MATLABPATH=path/to/xunit ant test-matlab``. All tests should pass.