Move the in-line checksum tests to the test suite

Signed-off-by: David Scott <dave.scott@eu.citrix.com>