Add tests
Add asChip method