More tests for StateTransFunctions