add assert for type testing
image svg