Fixed gitignore; added some COMPLEX unit tests for the whole thing