Added test for KeyStoreBuilder

fixing bug in the process