Test for modular and major function