add test function of relinear light