added tests for a long foreign key to reference issue #17 and ensure it works forever