added update: bug fix for bug #541 second example
Added Bug 541 as tests