acceptance tests passing for new study, added basic unit tests and validations.