Add basic tests for attach_foreignkey
Simplify setUp logic
Merge pull request #18 from educreations/utils-tests

Test utils.py