Implemented /api/streaks & hardened test