Refactored test_interactive.php

Improved code readability
Removed unnecessary session_start()