Changed TestException to AssertionError in intercept

Also corrected package name of test classes.