Add test for writers.
Merge pull request #55 from treshugart/master

Add test for computed writers.