Test Functions

writing tests