test code in study