fix minimum derive key size
added @abstractj test case to derive key through kdf