add some random secret key base
Fix several tests