implemented TTAS and MUTX locks; added lock test suite