improved elastica tests