Adds tests for the appendEl method