hand-optimized typing query
var-shared tests