Improved backend persistence and added support for failed test tracking.
Added tests