Adding unit tests for karan