Added extra checks to boundary conditions tests for period length.
Minor model cleanup.
WIP on period length and budget tests.