Added assertion for MD5 check