Added some tests and ran PSR-2 formatter.