Add apertium module tests

While at it fix 2 bugs with bad dependencies

Change-Id: I2d4c6b526cbdda64e35598871dff36a250e8e43c