Improve AOR test form on Linux

Fix case of filename and default path to images on Linux. Also fix
dispose issue that causes a crash.

Change-Id: I0e6e9c82fd4de3ff496460a57c76e7905ae76792