testing with jsmockito