added dirname vs cwd asset loading test (passing)