Make test app throw exception