improve test on secret_token generation
Add test on ruby-head on travis