Add dynamic module test and helper script