Add some functions and made test
Add some functions and made test