Added test for reverse link, made format fixes.