Added friendlist and tests for addconnection and removeconnection