Extend 'test' mode functionality to accommodate new swirlify features

This pull request extends swirl's existing 'test' mode functionality and goes hand in hand with this [swirlify pull request](https://github.com/swirldev/swirlify/pull/7).