adding rspec test for binary files