Adds unit and acceptance tests for m12 and sj8672.