Add available devices unit test and JUnit4 classpath ref