Renamed internal vars
Replaced array tests with actual example (TODO: write specs)