add a test for the issue of https://github.com/defunkt/fakefs/issues/176