write month period consumption test case
create prepopulate unit test and fix bugs found