added new divs needed in tests
refactorings need to make methods testable
added 5 tests and fixed two
moved some variables to constants to make them more testable