Add phpunit depencency.
Change namespace cache provider..
Creating device abstract class for unit tests purpose.
Tests.
Cache provider removed.
Tests.