Documenting and improved test case