Fix type parameter check.
Adjust AES tests for current settings.
Remove current path from auto_path variable for tests.

Stacktraces are too verbose now and reports filenames with path,
whereas the test expects the filename only.