Test for exception getting thrown. 2.6 in Travis