Fix wrong messageId in Db Adapter
Added unschedule test