Add some feature tests for memset_s and mlock