Added tests for --print-soname and --set-soname