make test dryer
improve test.h, Makefile and add similar key test
Merge pull request #17 from sphia/test-similar-keys-get-set

#4 Test similar keys get set