Remove duplicate test definitions

A few functions were duplicate, apparently merge errors.
Remove them.

Change-Id: Ifa23eb1fe5a5782101491be6b90ee9bed1e41b1b
Securely create signing_dir (bug 1174608)

Also verifies the security of an existing signing_dir.

Change-Id: I0685b4274a94ad3974a2b2a7ab3f45830d3934bb
Merge "Remove duplicate test definitions"