switch to mocha for testing
add attach/detach fingerprint test
Release 2.2.5