Unittests

Added few unittests for components/misc and components/file_finder dirs.