add karma unit tests for member and trx services