add test code sample