Fixes two bugs.
Adds tests.
Adds nose information to README.