testConnectComponent fix

old test literally did nothing. the new one does something