Students have four hours to do the Algebra I, Biology, and US History tests. They also have five hours to do English I and II tests, which are reading and writing tests.
His mother most likely has set a curfew for John for his personal benefit and safety, and as she is his mother and is responsible for protecting him, he is respecting her by enabling her to do so when he follows her rules.