Redmine#2753: add acceptance test
Some small test cleanups to make it more cross platform friendly.