Refactor tests to exclude selenium for now