Test to check functionality