Rewrote testing for elwise