simplify price test
simplify name test
eliminate code duplication