complete tests for assertElements