add secrets.yml
fix test env
fix sorting on jruby