Added test for binary file