Implement several useful util functions with corresponding tests