Support for **kwargs in pre and post with tests