Adding TS number entry for Teacher Performance Monitoring
Added checks for looping around without resave and end state tests