Add legacy test functions