Fixed bug for bracket not taking negative numbers
Changed tests double's delta value as 0.5