Put validations in correct folder. Implement error generation on failed parameter test