Adding conditions to tests to prevent false negatives
Merge pull request #23 from SamMorrowDrums/elementTestsCompat

Adding conditions to tests to prevent false negatives