Fixed wrong typecast in AbstractCommand, added three more DOM websocket commands, added test for Page entity.