Added spec file for unit testing.