Add tests for graffiti.core