Run sbt commons/test. See detailed explanation in Scopes.
You may also use the combination of two commands from sbt – changing the current project using project and executing test afterwards.
sbt "project commons" test
You can also use
sbt "; project commons; test"