Improved 'motor' test

LED state is now better represented
'motor' now switches off LED when stopped

(Merge because of previous 'commit --amend' operation
Conflicts:
	src/motor/test/motor_tests.c)