Adding tests

Adding test structure and license