inventory testing added for TC 6 and 7