Adding tests and beta file for untested functions.