Added chmod and single test