Add some tests functions