Added SH-test

This code is super beta and likely doesn't work correctly. Use with
caution.