Testing user's index action