fixed tensor tests