For test code