Added some tests, need to fix the binary, and lots more tests are needed