added tests, updated readme, aliased iin --> bin