add test for explicit constructor