added comments; added a few requirements to test file