Add duplicate secretkey test.
Add more tests ^_^