Refactor/php unit tests

As per PSR-2

"Opening parentheses for control structures MUST NOT have a space after them, and closing parentheses for control structures MUST NOT have a space before."

Can you remove the spaces around json_decode()?