renamed test class
added online test
implemented mock device
added get test