Add test to check for 'replaced' changed-managed-files

  Adding a test to make sure Issue#157 is fixed.