Added module activation test
(cherry picked from commit 8554fc2)