fixing remaining tests on recording and added validation on duration