Added a print helper and test function, will add others later