updated test module definition pattern