added spec file for tests