added a few algorithm A tests