Added new test structure for libretroshare
ported some of the tests across.