Add sha intrinsic tests

These should have been included with r190864, but I forgot to use svn add.