Fix missing var declaration, updated specs with working placeholders, added travis.yml