implemented mset and tests