Testing with metadata