Fixed test for multiple counters in multidimensional arrays
Added ternary operator test
Added dependency on scalacheck.
Improved test with scalacheck generator.