fix so test suite builds on Windows
fix command test to not add to self
fix command test to not add to self