Added test and fix for the case if there is a semicolon between import statements.