valid() checks for initialized. Don't check for initialized explicitly

Also removed get_included_files test which was imported in this diff by mistake