anil added tests for big logic