added test, checking for error using isBoom
added test, checking for error using isBoom