Add factories spec