Fix for issue #23

Pretty sure that issue #23 was not entirely what I thought it was. I've added a unit test for the case as described, and that seems to pass. I found a bunch of other bugs while writing tests though, and I have a sneaking suspicion that the real cause of #23 is the failure to pick up use statements that had a leading \.