Added (expected=NullPointerException.class) to test so that i don't swallow exceptions.