add tests for case, preview, recursive, includes and excludes