Added tests for smartcase