Fixed Unit Tests

- Skipping tests till run in separate process if fixed
- Making array objects to be compatible with older versions of php