Take a look at the tests in mechanics in test_kane* where they have examples of this.