Added assertion and fixed comments in details link test.