Fixes Bugs, Updates Tests, adds libsodium To Travis