Move secure tests to the end since timeout will affect subsequent tests

The secure API seems broken on Android 21. It works fine on Android 19.