Test derivekey

Added 2 additional assertions.
Please review.