Motor library tested