Assert::equal: Fixed error with integer indexes created by type cast from object [Closes #45]