Refactored some tests. Lot number will now be set to largest lot number + 1 of batches for that molecule