Refactors, simplified specs and running tests when a file changes