Add inheritance test
Use same state variable name for continuous motion