REG_BINARY done
Test function