(1) ensure use of correct path separator when determining current working directory (fixes #24);
(2) improve result code and details reporting to account for missing expected error or warning when no error or warning occurs;
(3) ensure correct handling of attribute names when testing for presence of other attributes;
Merge fix for Issue #24.