added spec test file