added more tests and deployment sample