1. Add a couple more tests with recommended handling practices.
2. Add a validation library for bouncycastle/java (version 1.50).