working on karma client testing