fixes #1; api docs; tap instead of mocha