Updated testing

Updated code and updated some of the tests. Removed some of the useless tests.
It's a useless test because this is the exact same as writing a test like

```php
$one = 1;
$this->assertNotNull($one);
```

The test is useless because if the variable is not assigned than there would be something wrong other than the code. Can you show me an example of where this is not that case?