tests, device, seeds, some db changes :)
Merge pull request #8 from LegaKh/tests

tests, device, seeds, some db changes :)