Fix for test case getting deleted due to incorrect data.  This also
fixes data entry for detail