Adding testing functions in the helper.java