added tests, fixed bin install