Commit 3 : Some test functions added. Minor corrections