Janczura, Joanna and Weron, Rafal (2010): Goodness-of-fit testing for regime-switching models.