testing all functions