rfnoc: Added unit test for new connect method