Fixed problems with command sequence and added tests