Fixes #3 - Add tests

It's a bit non-conventional to test this kind of task like that, but given that all task logic resides is in task declaration, i do think it's more appropriate and reliable way to test it.