renamed spec tests and added factor method