Test for brushless motor