module test code work well