add test case for openning link