writes a little more tests
fixes xref link"