enhance spec tests