Removed unnecessary assert in then block of functional test