fixing link contract unit test