add test case for #1008
add test case for #1006
add test case for #1007
Added test case for #1006
Fixes #1006
Merge pull request #1009 from bronze1man/pr-test1

Test cases for #1006 #1007 #1008
Fixed #1006 completion test case and unmarked
Some small cleanups.
Renames
Added resolve test case for #1008
Cleanups
Closes #1008.

Fixed some other tests too
Fixed parsing of embedded imported interface (and resolving implicitly).
Removed an obsolete import test.
refactor GoInspectionTestCase, make doTestWithDirectory() private and change the base path of directory test cases to the directory