use @test_throws with an exception type

because @test_throws tests without an exception type are deprecated.
remove the PASS message from the test
require julia 0.3-