added test for --only