Added csw tests

Added some basic csw tests