Async calls for barcode resource spec

Tests in barcode resource spec should now be passing.