added additional unit tests for user and studies classes