Fixed fatal error in interface procesing

Fixed fatal error in case of testing file with include of file with only interface definition ending by } token. Call check_variables for include returned int insteead of array with defined variables.