RK added a few basic test cases for a few fumctions