Fix Tests

Fix the current tests, add new ones
Add Codeship integration