Added Missing paren and Fixed Tests