Automating shim tests