Added jUnit Test Case for the new update feature