fix test for writable tmp components - #175 from gene292/master