Added tests hcf and write-natural.