Add test to allow commit id on specs "#<foo>"