Fix binary units

The kibibytes were displayed as `kiB`. Now they are
displayed as `KiB`
Add rspec for testing