add tests for conflict detection of source files

related to #451