c++11: promise / future test added

Signed-off-by: Samuel Casa <samuelcasa9@gmail.com>