If you want to test for a user "JOE" with password "ABCDEF", then create a user "JO" with password "EABCDEF", or "J" with password "OEABCDEF", and compare the hash values.

Or "JOEABCDE" with password "F". You get the idea, anyway.