Implemented loop tests for crypto_secretbox