Add basic handles/coderef tests