Added LightSwitch test
Removed unnecessary buffers and restructured tests
Merge branch 'channel'
Implemented ReaderWriterLock