- moved thrown unexpected exception validation to static methods in Bdd
- added validation to when with value parameter