now using datetime object instead of string of date
added collection name in class definitions
index and test type to be filled from each status added