Testing NShape with NLine using NVI idiom