Fixed the test code
Added more test cases for Televison