Removing redundant comments
Console.log()
Moved object initialisation to setUp()
Whitespace
Close stream in finally block
Added neat function for getting cqlFilter and renamed function in template
Extracted condition into function
Whitespace consistency
Extract FilterPanel construction to a factory method