applied patch
fixed test