fix project selector: use project from parameter
port basic instance tests