Add overdue tests for attribute locks