Add integration test & start of unit tests
Switch from Laravel code style to PSR-2