Adds tests, fixes, updates README, bumps version