ref asign test