A test for a specific cost using nested define.