Improved the coverage of secretbox

separate test case.