Motor libraries and test applications