Study: add validations for n and power & test