Add tests

This should be `'{}.{}'.format`. Can you add a test for this method?