Add support for endurance tests and initial test suite