Testing quantum devices: Practical entanglement verification in bipartite optical systems