fix test for writable tmp components.
Merge pull request #175 from gene292/master

fix test for writable tmp components.