Construct an exercise submission action with the given parameters. This constructor is useful for testing purposes.