Add test for complex name

Signed-off-by: Igor Popov <igor.popov89@gmail.com>