test must be at the end