Note on the One and Two-Sided Z Tests