Additional test to show that custom cap isn't created without stroke path. Valgrind reported a leak here, and it's right about it, the problem isn't a leak - we should allocate object in this case at all, test added points on it.