Solves problem with <reason> key
Minor test to test error message