Added unit and e2e tests with sample tests