Qa 532 write commands

Tests for new write command functionality.