refactoring
fixed digest loop issue
updated setColumns logic
added more tests to controller