fixed motor unit tests and made arrayset build depend on the test