adding tests on basic functions and implementing few corrections