Add comments to functions to access willitlink data
Move leak resolution function into more logical place
Fix test failure