updated tests; added integration test
separated specs into unit & integration