Adding unit test for table scan on specific attrs