fixed an issue running a Suite of tests (run as -> test on the whole
project) where the state of KMS was not reset to Preparation..

Improved preparation test
Merge branch 'master' of https://github.com/freeDom-/jKMS.git