Reorganizating
Adding tests for backend
Repairing cookies test