finalize the new.spec tests and handle all use cases