refactor onLoadedProject() creator to handle success==false consistently; add tests of project state action creators