Add tests
Inverted method (they actually do pretty much the same thing but it's cleaner like this ;))