Adding sampling kthread for continous read of values, added test for read and open routines