added tests to kinks and graphs