Started work on AE support

Also added a test subcommand, yay