Fixed require of homelib module in connection test