[Upg] new unit tests with mockery
[Fix] redirection where attempted url is null
[Upg] merge json
[Fix] composer.json error
[Fix] foundation
[Fix] foundation
[Fix] merge
Merge branch '1.2'