cleanup tests
add check-method
update example
test: add unlock none-existing test
DRY
1.1.0
Merge pull request #3 from kesla/check

add check method to check if a pidfile points to an active pid