Finished SMConditionToStackMobQuery class and JUnit tests.