Created a test to verify commented imports are not imported

I tried to fix #303 and when I wrote the test, the issue appears to have been fixed already.