add closures specialized tests