test for async .secret()