Check the touched files if the imports are really not used. Classes like document or the view are used across the whole code base, so are tested with the system tests. The rest can be tested when you actually use their functionality like the SQL custom field or tags.
How can I test this?