Extreme value modelling with application to reverse stress testing