added some basic test for the bin script