Fixed gd test