testclass updated for addProducts