IDEA plugin: added the error checking to intentions tests.
Minor: use canonical path to expected file in intention tests.
Fixed tests after adding error checking for intention tests.