Added a test for SMOD