Removed repetitive classes
Updated test case to work with new output from process_key
Separated check for comments and white_list output from parsing grep