Move check interface order to setup, fix dependencies

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>