Bs dsc 154 jobs index test

@terenceingram test cases and new fields added
It reads lastProcessedId from index_history table and write to it. On local DB all statement commented out above fails but it works in dev.