add unit test to verify specified sanity_check_paths

fix for #1107

@wpoely86: please review?