Added a to command, and some more tests