added unit tests
fixed one test
changed separate asserts into one
fixed identation
added test with floating numbers, modified group by weekday test
changed assertEqual to assertAlmostEqual with floats
fixed identation
Merge pull request #2 from mjelonek92/bug_3048

[3048] Added unit tests.