Added PHPUnit tests
Fixed bug when adding grid navigation parameters