not sure how best to write tests, probably a larger test framework on a board farm to test on real devices will be more sensible.