dir.path ends in / for app/models/exercise too
test tidy up
minor test refactoring
added missing lib tests