Add spec tests

Collaboration with lexo76