implementing device tests
implementing tests and further dev api