Remove trailing spaces in test_*.jl
Specify exception type with test_throws