fix typo's for tests in controller,(took way to long)
Found erros in models tests, add order index in veiw, add cahce