Added tests for get obligation by date

Added tests for get obligation by date