Add test to reproduce #288
Fixes #288
Merge branch 'develop' of github.com:syncany/syncany into develop