astyle: add test

Closes #35333.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>